home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
PET
/
S-Super PET
/
(s)tk.d64
/
CALL.MACRO
< prev
next >
Wrap
Text File
|
2009-01-18
|
666b
|
36 lines
call macr
pcount__ set 0
ifnc .,\1.
ifnc .,\2.
pcount__ set 2
ifnc .,\3.
pcount__ set 4
ifnc .,\4.
pcount__ set 6
ifnc .,\5.
pcount__ set 8
ifnc .,\6.
pcount__ set 10
ldd \6
pshs d
endc
ldd \5
pshs d
endc
ldd \4
pshs d
endc
ldd \3
pshs d
endc
ldd \2
pshs d
endc
ldd \1
endc
jsr \0
ifne pcount__
leas pcount__,s
endc
endm